package cn.java.exercises;

public class Car implements Vehicle
{
    public static String name="汽车";
    private double fuelConsumption=7.8;
    @Override
    public int getDriverTime()
    {
        System.out.println("1000公里路程，汽车需要500分钟。");
        return 500;
    }

    public double getFuelConsumption()
    {
        return this.fuelConsumption;
    }
}
